<?php
include("../../includes/config.php");
include("../includes/secure.php");
include("../../includes/class/program.class.php");


	$program = new Program();
	$code = $_GET['code'];
	
	$program->deleteProgram($code);	
	
		echo "<script>window.location.href='../listPrograms.php';</script>";	
?>